<!--  -->
<template>
  <div class="vue">
    解析vue文件
    <img class="img" :src="img" alt="">
  </div>
</template>

<script setup>
import jpg from './test.jpg'
import { ref } from 'vue'
const img = ref(jpg)
</script>

<style lang="scss">
.vue {
  background-color: pink;
  padding: 10px;

  .img {
    width: 100px;
  }
}
</style>